(Fread_key_sequence): Don't start the busy cursor
authorGerd Moellmann <gerd@gnu.org>
Mon, 4 Dec 2000 14:48:10 +0000 (14:48 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 4 Dec 2000 14:48:10 +0000 (14:48 +0000)
timer after having read a key.  It's not good for code reading
several keys in a loop, like an input method.

src/keyboard.c

index 07f0bc3c423eed9f40081d47b84f8d928d567b79..b23e08959e4a3f560cc73641067605b099aae3ea 100644 (file)
@@ -8858,9 +8858,13 @@ DEFUN ("read-key-sequence", Fread_key_sequence, Sread_key_sequence, 1, 5, 0,
                         prompt, ! NILP (dont_downcase_last),
                         ! NILP (can_return_switch_frame), 0);
 
+#if 0  /* The following is fine for code reading a key sequence and
+         then proceeding with a lenghty compuation, but it's not good
+         for code reading keys in a loop, like an input method.  */
 #ifdef HAVE_X_WINDOWS
   if (display_busy_cursor_p)
     start_busy_cursor ();
+#endif
 #endif
 
   if (i == -1)